import { useCookies } from '@vueuse/integrations/useCookies'
const TokenKey="admin-token"
const cookie =useCookies()
// 获取token
export function getToken()
{return cookie.get(TokenKey)

}

// settoken
export function setToken(token)
{return cookie.set(TokenKey,token)

}
// removeToken
export function removeToken()
{return cookie.remove(TokenKey)

}